package com.wsp.apimanagement.pojo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Package: com.wsp.service.pojo.entity
 * Description： TODO
 *
 * @Author: 巫思平
 * Copyright: Copyright (c) 2020
 * Version: 1
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "用户")
public class User {
    @ApiModelProperty("用户id")
    private long userId;

    @ApiModelProperty("用户openid")
    private String openId;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("用户头像url")
    private String userAvatar;

    @ApiModelProperty("用户被点赞总数")
    private Integer totalLike;
}
